<div class="cbody">
	<div class="cwarp">
		<div class="page-content">
			<!-- 搜索 starts -->
			<div class="row">
				<h3 class="header smaller lighter blue">试题管理</h3>
				<div class="col-sm-12 ">
						<div class="col-sm-4">
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 题目关键字</label>
								<div class="col-sm-8">
									<input type="text" id="form-field-1" ng-model="searchItem.quest"
										maxlength="100" placeholder="请输入题目关键字进行模糊查询" class="col-xs-12" />
								</div>
							</div>
						</div>
						<div class="col-sm-4">
							<div class="form-group">
								<label class="col-sm-4 control-label no-padding-right" for="form-field-1"> 试题类别</label>
								<div class="col-sm-8">
									<select name="" class="col-sm-12" ng-model="searchItem.type">
										<option value="">--请选择--</option>
										<option value="单选题">单选题</option>
										<option value="多选题">多选题</option>
										<option value="判断题">判断题</option>
									</select>
								</div>
							</div>
						</div>
						<div class="col-sm-2">
							<p>
								<button class="btn btn-warning btn-sm search" ng-click="query()">
									<i class="ace-icon fa fa-search bigger-110 icon-only"></i>
								</button>
								<button class="btn btn-info btn-sm" title="重置" ng-click="clear()">
									<i class="ace-icon fa fa-undo bigger-110 icon-only"></i>
								</button>
							</p>
						</div>
						<div class="col-sm-2 text-right">
							<p>
								<button class="btn btn-success btn-sm" ng-click="add()">
									<i class="ace-icon glyphicon-plus"></i>新增
								</button>
							</p>
						</div>
					</div>
				<!-- 搜索 end -->
				<!-- 表格区 starts -->
				<div class="col-sm-12 data-list">
					<table id="dynamic-table"
					class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable"
					role="grid" aria-describedby="dynamic-table_info">
						<thead>
							<tr role="row">
								<th></th>
								<th style="width: 80px;">序号</th>
								<th>试题类型</th>
								<th style="width: 600px;">题目</th>
								<th style="width: 160px;">操作</th>
							</tr>
						</thead>
						<tbody>
							<tr  class="center" ng-repeat="item in items">
								<td style="width: 60px;"><label class="pos-rel">
										<input type="radio" name="radio-col" value="{{item.id}}" class="ace"
											ng-model="selectedUserId" />
										<span class="lbl"></span>
									</label></td>
								<td>{{$index}}</td>
								<td>{{item.type}}</td>
								<td style="text-align:left;">{{item.quest}}</td>
								<td style="width: 160px;">
									<div class="hidden-sm hidden-xs action-buttons">
<!-- 										<a class="blue" href="" title="查看" ng-click="viewUser(item)"> -->
<!-- 											<i class="ace-icon fa fa-search-plus bigger-130"></i> -->
<!-- 										</a> -->
<!-- 										<a class="green" href="#/user/edit" title="修改" ng-click="editUser(item)" data-toggle='modal'> -->
<!-- 											<i class="ace-icon fa fa-pencil bigger-130"></i> -->
<!-- 										</a> -->
										<a class="orange" href="" title="删除"
											ng-click="del(item)" data-toggle='modal'>
											<i class="fa fa-trash-o bigger-130"></i>
										</a>
									</div>
								</td>
							</tr>
						</tbody>
					</table>
					<!--  分页 start -->
					<div class="left" uib-pagination total-items="totalItems" page="currentPage" first-text="首页"
						last-text="尾页" ng-model="currentPage" items-per-page="{{pagesize}}" previous-text="上一页"
						next-text='下一页' max-size="maxSize" ng-change="pageChanged()" class="pagination-sm"
						boundary-links="true"></div>
					<!--  分页  end-->
				</div>
				
			</div>
		</div>
	</div>
	<!-- pageContent end -->
</div>